package interface_func

type Pet interface {
	GetName() string
	GetCategory() string
}

type Dog struct {
	Name     string
	Category string
}

func (d Dog) GetName() string {
	return d.Name
}

func (d Dog) GetCategory() string {
	return d.Category
}
func (d *Dog) SetName(name string) {
	d.Name = name
}
